<div class="acos view">
<h2><?php  echo __d('acos','Aco');?></h2>
	<dl>
		<dt><?php echo __d('acos','Id'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('acos','Parent Id'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['parent_id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('acos','Model'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['model']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('acos','Foreign Key'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['foreign_key']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('acos','Alias'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['alias']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('acos','Lft'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['lft']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __d('acos','Rght'); ?></dt>
		<dd>
			<?php echo h($aco['Aco']['rght']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<?php echo $this->element('/menu/left')?>
<div class="related">
	<h3><?php echo __d('acos','Related Aros');?></h3>
	<?php if (!empty($aco['Aro'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __d('acos','Id'); ?></th>
		<th><?php echo __d('acos','Parent Id'); ?></th>
		<th><?php echo __d('acos','Model'); ?></th>
		<th><?php echo __d('acos','Foreign Key'); ?></th>
		<th><?php echo __d('acos','Alias'); ?></th>
		<th><?php echo __d('acos','Lft'); ?></th>
		<th><?php echo __d('acos','Rght'); ?></th>
		<th class="actions"><?php echo __d('acos','Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($aco['Aro'] as $aro): ?>
		<tr>
			<td><?php echo $aro['id'];?></td>
			<td><?php echo $aro['parent_id'];?></td>
			<td><?php echo $aro['model'];?></td>
			<td><?php echo $aro['foreign_key'];?></td>
			<td><?php echo $aro['alias'];?></td>
			<td><?php echo $aro['lft'];?></td>
			<td><?php echo $aro['rght'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__d('acos','View'), array('controller' => 'aros', 'action' => 'view', $aro['id'])); ?>
				<?php echo $this->Html->link(__d('acos','Edit'), array('controller' => 'aros', 'action' => 'edit', $aro['id'])); ?>
				<?php echo $this->Form->postLink(__d('acos','Delete'), array('controller' => 'aros', 'action' => 'delete', $aro['id']), null, __d('acos','Are you sure you want to delete # %s?', $aro['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__d('acos','New Aro'), array('controller' => 'aros', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
